.class Lcom/instagram/android/service/d;
.super Ljava/lang/Object;
.source "AutoCompleteUserServiceHelper.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/instagram/android/model/b/e;

.field final synthetic b:Lcom/instagram/android/service/b;


# direct methods
.method constructor <init>(Lcom/instagram/android/service/b;Lcom/instagram/android/model/b/e;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 122
    iput-object p1, p0, Lcom/instagram/android/service/d;->b:Lcom/instagram/android/service/b;

    iput-object p2, p0, Lcom/instagram/android/service/d;->a:Lcom/instagram/android/model/b/e;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 125
    const-string v0, "autoCompleteUserStoreV2"

    invoke-static {v0}, Lcom/instagram/m/b/a/a;->a(Ljava/lang/String;)Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/service/d;->a:Lcom/instagram/android/model/b/e;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 129
    iget-object v0, p0, Lcom/instagram/android/service/d;->a:Lcom/instagram/android/model/b/e;

    invoke-static {v0}, Lcom/instagram/android/a/a/d;->b(Lcom/instagram/android/model/b/e;)V

    .line 130
    invoke-static {}, Lcom/instagram/android/directshare/h/a;->a()Lcom/instagram/android/directshare/h/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/service/d;->a:Lcom/instagram/android/model/b/e;

    invoke-virtual {v0, v1}, Lcom/instagram/android/directshare/h/a;->b(Lcom/instagram/android/model/b/e;)V

    .line 131
    return-void
.end method
